<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="style/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	  <style type="text/css">
    	body{
	    	padding-top:70px;
	    	padding-left:70px;
	    	background-image:url(img/ab.png);
    	}
      </style>
	
</head>

<body class="body">
	
	<%@ include file="top.jsp" %>
	<%@ include file="leftlabel.jsp" %>
		<div class="btn-group pull-right" >
          		<a class="btn btn-success" href="#"><i class="icon-cog icon-white"></i>操作</a>

          		<a class="btn btn-success" data-toggle="dropdown" href="#" style="border-radius:0px 3px 3px 0px"><span class="caret" style="height:7px;"></span></a>
          		<ul class="dropdown-menu">
            		<li><a href="addgoal.action"><i class="icon-plus"></i>添加新目标</a></li>
            		<li><a href="allgoal.action"><i class="icon-zoom-in"></i>浏览所有任务</a></li>
          		</ul>
        	</div>
		<div class="span9">
			
			
	
			
			<c:forEach items="${goalList}" var="goal">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					<a href="task.action?id=${goal.id}"><i class="icon-th"></i>${goal.goalname}</a>
				</li>
				<li style="float:right"><i class="icon-edit"></i><a href="editgoal.action?id=${goal.id}" class="link-black">编辑</a></li>
			</ul>
			<div class="wall">

				<p>${goal.goaldesc}</p>
				<div class="progress progress-danger">
					<div class="bar" style="width: ${goal.plan }%;">已完成${goal.plan }%</div>
				</div>
			</div>
			</c:forEach>
		</div>
	  </div>

	</div>
</body>
</html>